<?php
defined('BASEPATH') OR exit('No direct script access allowed');
if(!isset($_SESSION)){
	session_start();
}
?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
	<title>404 Page Not Found</title>
	<!--[if lt IE 9]>
		<script src="/static/js/lib/html5shiv.min.js"></script>
		<script src="/static/js/lib/respond.min.js"></script>
    <![endif]-->
	<link rel="stylesheet" href="/static/css/base.css">
	<link rel="stylesheet" href="/static/css/common.css">
	<link rel="stylesheet" href="/static/css/error.css">
</head>
<body>
    <header class="layout-header">
	    <div class="layout-nav-container layout-nav-container-fluid clearfix">
	    	<nav class="top-nav">
	            <div class="navbar-header fl">
	            	<!--nav logo-->
					<div class="logo fl">
						<a href="/"><img src="/static/images/logo.svg" width="130" alt="slidepin.com"></a>
					</div>
	            </div>
	            <div id="navbar" class="nav-main">
	                <div class="menu-container">
	                    <ul class="nav navbar-nav fl">
	                        <li class="nav-item dropdown">
	                            <a href="/slides" class=""><span class=""></span>全部</a>
	                        </li>
							<li class="nav-item active">
								<a href="/latest"><span class=""></span>最新</a>
							</li>
							<li class="nav-item active">
	                            <a href="/hot"><span class=""></span>热门</a>
	                        </li>
							<!--
	                        <li class="nav-item dropdown">
	                            <a href="/special" class=""><span class=""></span>专题</a>
	                        </li>-->
	                        <li class="nav-item">
	                            <a href="/meetings"><span class=""></span>会议/活动</a>
	                        </li>
	                        <li class="nav-item">
	                            <a href="/search"><span class=""></span>搜索</a>
	                        </li>
	                    </ul>
	                    <ul class="nav navbar-nav navbar-right header-user-corner fr">
	                        <?php if(isset($_SESSION['username'])):?>
								<li class="access-btn login">
									<a href="/profile/" alt="用户中心"><?=$_SESSION['username']?></a>
								</li>
								<li>
									<a href="/upload" class="upload"><span>上传</span></a>
								</li>
							<?php else:?>
								<li class="access-btn login">
									<a href="/login" alt="登录">登录</a>
								</li>
								<li class="access-btn regist">
									<a href="/register" alt="注册">注册</a>
								</li>
								<li>
									<a href="/login" class="upload"><span>上传</span></a>
								</li>
							<?php endif;?>
	                    </ul>
	                </div>
	            </div>
	        </nav>
	    </div>
	</header>
	<div class="layout-container">
		<div class="layout-message-container">
			<div class="layout-message-box">
				<article class="hentry">
					<div class="entry">
						<div class="entry-head">
							<h1 class="entry-title">404 - 页面未找到</h1>
						</div>
						<div class="entry-content">
							<p>抱歉，您访问的页面不存在或者已经删除。 <a href="/">返回首页</a></p>
						</div>
					</div>
				</article>
			</div>
		</div>
	</div>
	<footer class="layout-footer footer">
		<div class="container">
			<div class="clearfix">
				<div class="footer-col footer-col-logo">
					<img src="http://wpsx.com/wp-content/uploads/2019/06/small-logo.png" alt="whatstool">
				</div>
				<div class="footer-col footer-col-copy">
					<ul class="menu">
						<li><a href="http://wpsx.com/wp-admin/nav-menus.php">思品文档</a></li>
					</ul>
					<div class="copyright">
						<p>Copyright © 2018-2019 Slidepin.com 版权所有 
							<a href="http://www.miibeian.gov.cn/" target="_blank" rel="nofollow noopener">苏ICP备000000000号</a>
						</p>
					</div>
				</div>
				<div class="footer-col footer-col-sns">
					<div class="footer-sns">
						<a target="_blank" href="http://weibo.com/iztme" rel="nofollow"><i class="fa fa-weibo"></i></a>
						<a target="_blank" href="http://t.qq.com/aizhuti002" rel="nofollow"><i class="fa fa-tencent-weibo"></i></a>
					</div>
				</div>
			</div>
		</div>
	</footer>

</body>
</html>
